package org.sn.jdish.designmode.observer;

import org.sn.jdish.designmode.observer.impl.MySubject;
import org.sn.jdish.designmode.observer.impl.Observer1;
import org.sn.jdish.designmode.observer.impl.Observer2;

public class ObserverMain {

	public static void main(String[] args) {
		Subject sub = new MySubject();
		sub.add(new Observer1());
		sub.add(new Observer2());

		sub.operation();
	}

}
